<h1>Listing dish_types</h1>

<table>
  <tr>
    <th>Type name</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @dish_types.each do |dish_type| %>
  <tr>
    <td><%= dish_type.type_name %></td>
    <td><%= link_to 'Show', dish_type %></td>
    <td><%= link_to 'Edit', edit_dish_type_path(dish_type) %></td>
    <td><%= link_to 'Destroy', dish_type, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Dish type', new_dish_type_path %>
